import {
	request,
	hotelRequest,
	otherRequest
} from '@/sheep/request';

export default {
	// 获取vip信息
	getUserInfoByMobile: (params) =>
		otherRequest({
			url: '/shop/api/user/getUserInfoByMobile',
			method: 'GET',
			params,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),

	// 创建订单

	transferToFriend: (id,data) =>
		otherRequest({
			url: `/shop/api/user/transferToFriend/${id}`,
			method: 'POST',
			data,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
	getTransferLog: (params) =>
		otherRequest({
			url: '/shop/api/user/getTransferLog',
			method: 'GET',
			params,
			custom: {
				showLoading: false,
				auth: true,
			},
		}),
			
};